//
//  SLShareManager.m
//  StarLight
//
//  Created by 吴涛 on 16/6/10.
//  Copyright © 2016年 Duke.Wu. All rights reserved.
//

#import "SLShareManager.h"
#import "SLNetWork.h"


@implementation SLShareManager


- (void)sharemydata:(shareDataBlock)block{
  NSString *posturl = [NSString backUrlWithService:@"user" methodName:@"sharemydata"];
  NSString *uid = [DEFAULTS objectForKey:loginInfo][@"id"];
  NSString *autheToken = [DEFAULTS objectForKey:loginInfo][@"auth_token"];
  NSDictionary *para = @{@"uid":uid,@"auth_token":autheToken};
  
  [SLNetWork postDataWithParameters:para postUrl:posturl complete:^(id respond, NSError *error) {
    
//    describe = "\U5434\U6d9b\Uff1a\U6700\U65b0\U8239\U8236\U52a8\U6001";
//    url = "http://xinmatou.net/share/test1.html";
    if (!error) {
      block(respond);
    }
  }];
  
  
}



@end
